package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.entity.EmpJob;
import com.woniuxy.mesboot.mapper.EmpJobMapper;
import com.woniuxy.mesboot.service.EmpJobService;
import com.woniuxy.mesboot.vo.EmpJobVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ：lisir
 * @date ：Created in 2023/5/27 11:06
 * @description：TODO
 */
@Service
public class EmpJobServiceImpl implements EmpJobService {

    @Resource
    private EmpJobMapper empJobMapper;

    @Override
    public int insertSelective(EmpJob record) {
        return empJobMapper.insertSelective(record);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return empJobMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(EmpJob record) {
        return empJobMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public EmpJobVO selectByPrimaryKey(Long id) {
        return empJobMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<EmpJobVO> selectAll() {
        return empJobMapper.selectAll();
    }
}
